(function () {
    var expect = chai.expect;

    function testIsObject() {
        describe("isObject", function () {
            it("isObject({}) => true", function(done) {
                var ret = aui.validate.isObject({});
                expect(ret).to.be.true;
                done();
            })
            it("isObject([]) => true", function(done) {
                var ret = aui.validate.isObject([]);
                expect(ret).to.be.true;
                done();
            })
            it("isObject(undefined) => false", function(done) {
                var ret = aui.validate.isObject(undefined);
                expect(ret).to.be.false;
                done();
            })
        });
    }


    describe("aui.validate", function() {
        testIsObject();
    });
})()